package com.supreme.commonrocketmq.annotation;

import java.lang.annotation.*;

@Target(value = {ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LoggerRecord {

    String MQ_ROCKETMQ = "rocketmq";
    String MQ_KAFKA = "kafka";

    boolean printInfo() default false;

    boolean mqSend() default true;

    String mqType() default LoggerRecord.MQ_ROCKETMQ;
}
